package demo.DataStrucAndAlgo.Easy_pritice;

import java.util.Scanner;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/10/15-10-15-19:29
 * @Description：demo.DataStrucAndAlgo.Easy_pritice
 */
public class JingDongTest1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.nextLine());
        for (int i = 0; i < n; i++) {
            String str = sc.nextLine();
            if(str.equalsIgnoreCase("jingdong")){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }
    }
}
